//基本展示数据
const basicInfoData = {

}

//表头数据
const tableHeader = [{
		prop: 'modelName',
		label: '款式名称',
		width: ''
	},
	{
		prop: 'imgUrl',
		label: '材质图片',
		width: ''
	},
	{
		prop: 'productCategoryCategory',
		label: '品类',
		width: ''
	},
	{
		prop: 'salesOfClassification',
		label: '销售分类',
		width: ''
	},
	{
		prop: 'aseriesOf',
		label: '系列',
		width: ''
	},
	{
		prop: 'material',
		label: '材质',
		width: ''
	},
	{
		prop: 'handRange',
		label: '手寸',
		width: ''
	},
	{
		prop: 'insert',
		label: '镶口',
		width: ''
	},
	{
		prop: 'theMainStoneShape',
		label: '主石形状',
		width: ''
	},
	{
		prop: 'theMainStoneAppearance',
		label: '主石外观',
		width: ''
	},
	{
		prop: 'deputyStoneGrainNumber',
		label: '副石粒数',
		width: ''
	},
	/*{
		prop:'',//等产品和后台确定字段名称
		label:'副石材质',
		width:''
	},*/
	{
		prop: 'standardRingWallThickness',
		label: '标准戒壁厚度',
		width: ''
	},
	{
		prop: 'standardRingWallWidth',
		label: '标准戒壁宽度',
		width: ''
	},
	{
		prop: 'canItBeCustomized',
		label: '是否可定制',
		width: ''
	},
	{
		prop: 'customCycle',
		label: '定制周期',
		width: ''
	},
	{
		prop: 'whetherLetteringIsPossible',
		label: '是否可刻字',
		width: ''
	},
	{
		prop: 'officialWebsite',
		label: '官网上下架',
		width: ''
	},
	{
		prop: 'storeLoadingAndUnloading',
		label: '门店上下架',
		width: ''
	},
	{
		prop: 'isThereAnySpecialStyle',
		label: '是否特殊款式',
		width: ''
	}
]
//列表数据数组
const tableData = [];

//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}

//表单组件数据
const filterOption = {
	items: [{
			label: '款式号',
			type: "input",
			key: "modelNo",
			method: "input",
			placeholder: '',
			value: undefined
		},
		{
			label: "品类",
			type: "dropdown",
			filterable: true,
			key: "productCategoryCategory",
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "款式名称",
			type: "dropdown",
			key: "modelName",
			filterable: true,
			filterable: true,
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "是否有图片",
			type: "dropdown",
			filterable: true,
			key: "imgUrl",
			data: [{
					label: '是',
					value: '1'
				},
				{
					label: '否',
					value: '0'
				}
			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "官网上下架",
			type: "dropdown",
			filterable: true,
			key: "officialWebsite",
			data: [{
					label: '上架',
					value: '1'
				},
				{
					label: '下架',
					value: '0'
				}
			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "是否可定制",
			type: "dropdown",
			filterable: true,
			key: "canItBeCustomized",
			data: [{
					label: '是',
					value: '1'
				},
				{
					label: '否',
					value: '0'
				}
			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "门店上下架",
			type: "dropdown",
			filterable: true,
			key: "storeLoadingAndUnloading",
			data: [{
					label: '上架',
					value: '1'
				},
				{
					label: '下架',
					value: '0'
				}
			],
			placeholder: '请选择',
			value: undefined
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清空",
			type: "clear"
		}
	],
	// close:true
}
let Model = {
	data() {
		return {
			Model: {
				paginationObject: paginationObject, //分页数据
				tableHeaderData: tableHeader, //表头数据
				tableData: tableData, //表格内容数据
				filterOption: filterOption, //表单数据
				showDetial: false, //详情弹窗显示状态
				imageUrl: '',
				searchObj: {}, //表单数据
			}
		}
	}
}
export default Model;
